using GearOptimizer.Adapters;

namespace GearOptimizer.DataObjects
{
    public class Character : IIdentifiable
    {
        public string Id { get { return Name + Realm; } set { } }
        public string Name { get; set; }
        public string Realm { get; set; }
        public string BattleGroup { get; set; }
        public int Level { get; set; }
        public int AchievementPoints { get; set; }

        public CharacterItems Items { get; set; }



        public Character ()
        {
            Items = new CharacterItems();
        }

        public void AddItemToSlot(Item item, SlotNames slotName)
        {
            Items.AddItemToSlot(item, slotName);
        }
    }
}